<?php
/**
 * Open Framework
 *
 * LICENSE
 *
 *this file is a template.
 *
 *
 * @category   
 * @package    
 * @subpackage 
 * @copyright  copyright
 * @license    $Id: file.php 5308 2008-12-13 17:18:45Z fy $
 */

/**
 * FreeY_View_Abstract 
 *
 * @category   
 * @package    
 * @subpackage 
 * @copyright  
 * @license    
 */
class FreeY_View_Abstract extends FreeY_Object
{
	/**
	 * template path
	 */
	protected $tpl = null;
	/**
	 * assign vars 
	 */
	protected $vars = array();
	/**
	 * template root
	 */
	protected $templates_dir = null;
	/**
	 * lbi names
	 */
	protected $lbis = array();


	/**
	 * display page
	 *
	 * @param $tpl string 
	 * @return echo
	 */
	public function display($tpl)
	{
	}

	/**
	 *  return Html
	 *
	 * @return Html string
	 */
	protected function _getHtml()
	{
	}
	/**
	 * get tpl file path
	 *
	 * @return tpl file path
	 */
	protected function _getTplPath()
	{
	}
	
	/**
	 * assign vars 
	 *
	 * @param $key mix vars.key
	 * @param $value mix vars[$key].value default null
	 * @return set self::$vars or return self::$vars[$key]
	 */
	public function assign($key, $value = null)
	{
	}

	/**
	 * get lbi path
	 *
	 * @param $lbi_name lbi name
	 * @return lbi_path
	 */
	public function getLbiPath($lbi_name)
	{
	}
	
	/**
	 * assign attribute 
	 *
	 * @param $key mix attribute.key
	 * @param $value mix attribute[$key].value default null
	 * @return set attribute or return attribute
	 */
	public function assignAttribute($key, $value = null)
	{
	}
}
//file end--------------------------------------------------------->